#

| Appendix A Quick Reference |

## A.4 Command Line Options

`vi` `file` | Invoke vi editor on file
`vi` `file1 file2` | Invoke `vi` editor on files sequentially
`view` `file` | Invoke `vi` editor on file in read-only mode
`vi` `-R` `file` | Invoke `vi` editor on file in read-only mode
`vi -r` `file` | Recover file and recent edits after system crash
`vi` `+` `file` | Open file at last line
`vi` `+``n file` | Open file directly at line number n
`vi` `+/``pattern file` | Open file directly at pattern
`ex` `file` | Invoke `ex` editor on file from UNIX

A.3 Exit Commands |  | A.5 Other ex Commands